package com.wxzz.elearing.course.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.TableField;
import com.wxzz.elearning.common.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;


@Data
@ExcelTarget("empUtil")
@ApiModel(value = "CurriculumSectionTopicAnswer对象", description = "章节测评题答案")
public class CurriculumSectionTopicAnswer extends BaseEntity {

    @ApiModelProperty(value = "课程章节测评试题id")
    private Long curriculumSectionTopicId;

    @ApiModelProperty(value = "答案")
    private String answer;

    @ApiModelProperty(value = "选项")
    private String item;

    @ApiModelProperty(value = "分数")
    private BigDecimal score;

    @TableField(exist = false)
    @ApiModelProperty(value = "是否做过")
    private Boolean isChoose = Boolean.FALSE;

}
